package com.wyu.notaryserver.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName picture
 */
@TableName(value ="picture")
@Data
public class PictureDO implements Serializable {
    /**
     * 图片表的主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 图片类型标识
     */
    @TableField(value = "type_id")
    private Integer typeId;

    /**
     * 图片类型名称
     */
    @TableField(value = "type_name")
    private String typeName;

    /**
     * 上传图片的URL路径
     */
    @TableField(value = "url")
    private String url;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}